package com.ossjk.oa.system.service;

import com.ossjk.oa.system.entity.Token;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chair
 * @since 2019-01-28
 */
public interface ITokenService extends IService<Token> {
	
	/**
	 * 创建新token,把旧token删除
	 * @param token
	 */
	boolean insertNewToken(Token token);
	
}
